home *** CD-ROM | disk | FTP | other *** search
/ Best of Shareware / Best of PC Windows Shareware 1.0 - Wayzata Technology (7111) (1993).iso / mac / ZIPPED / DOS / GRAPHICS / RAYSH386.ZIP / SRC / JITTERED.H < prev    next >
C/C++ Source or Header  |  1992-04-30  |  1KB  |  42 lines

  1. /*
  2.  * jittered.h
  3.  *
  4.  * Copyright (C) 1989, 1991, Craig E. Kolb
  5.  * All rights reserved.
  6.  *
  7.  * This software may be freely copied, modified, and redistributed
  8.  * provided that this copyright notice is preserved on all copies.
  9.  *
  10.  * You may not distribute this software, in whole or in part, as part of
  11.  * any commercial product without the express consent of the authors.
  12.  *
  13.  * There is no warranty or other guarantee of fitness of this software
  14.  * for any purpose.  It is provided solely "as is".
  15.  *
  16.  * $Id: jittered.h,v 4.0 91/07/17 14:34:50 kolb Exp Locker: kolb $
  17.  *
  18.  * $Log:    jittered.h,v $
  19.  * Revision 4.0  91/07/17  14:34:50  kolb
  20.  * Initial version.
  21.  * 
  22.  */
  23. #ifndef JITTERED_H
  24. #define JITTERED_H
  25.  
  26. #if defined(__WATCOMC__) || defined(__BORLANDC__)
  27. #include <stdlib.h>
  28. #endif
  29.  
  30. #define LightJitteredCreate(c,p,u,v) LightCreate( \
  31.             (LightRef)JitteredCreate(p,u,v), JitteredMethods(), c)
  32. typedef struct {
  33.     Vector pos, curpos, e1, e2;
  34. } Jittered;
  35.  
  36. extern Jittered *JitteredCreate();
  37. extern LightMethods *JitteredMethods();
  38. extern int JitteredIntens();
  39. extern void JitteredDirection();
  40.  
  41. #endif /* JITTERED_H */
  42.